package com.evil.kingdom.service.core;

import com.evil.kingdom.pojo.dto.core.ItemDto;
import com.evil.kingdom.pojo.entity.core.Item;
import com.evil.common.mongo.service.SingleService;

import java.util.Collection;
import java.util.List;

/**
 * 物品
 *
 * @author liyang
 * @date 2024-05-22 16:51
 */
public interface ItemService extends SingleService<Item> {

    ItemDto findDtoByName(String name);

    List<ItemDto> findDtoByNames(Collection<String> name);
}
